import request from "@/utils/request.js";

// 获得指定应用的开启的支付渠道编码列表
export function getEnableChannelCodeList(params) {
  return request.get("/campus/pay-api/getTradeTypes",params );
}

/**
 * // 查询支付结果
 * @param params {outTradeNo,payChannel}
 * @returns {*|Promise<HttpResponse<any>>}
 */
export function queryPayResult(params) {
  return request.post("/campus/pay-api//query/state",params );
}
